package org.cx.comparator;

import lombok.Data;
import org.cx.comparator.test.Animal;
import org.cx.comparator.test.Person;

import java.util.List;

/**
 * <p>  </p>
 *
 * <pre> Created: 2019/11/27 10:20 </pre>
 *
 * @author hlu
 * @version 1.0
 */
@Data
public class Student {

    private Integer id;
    private String name;

    public Student(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    private List<Animal> animal;

    public Student(Integer id, String name, List<Animal> animal) {
        this.id = id;
        this.name = name;
        this.animal = animal;
    }

    private Person person;

    public Student(Integer id, String name, List<Animal> animal, Person person) {
        this.id = id;
        this.name = name;
        this.animal = animal;
        this.person = person;
    }
}
